package com.sptus.web.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sptus.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: dev_alarm
 * @Author: jeecg-boot
 * @Date:   2024-12-22
 * @Version: V1.0
 */
@Data
@TableName("dev_alarm")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dev_alarm对象", description="dev_alarm")
public class DevAlarm implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**alarmInfo*/
	@Excel(name = "alarmInfo", width = 15)
    @ApiModelProperty(value = "alarmInfo")
    private String alarmInfo;
	/**alarmName*/
	@Excel(name = "alarmName", width = 15)
    @ApiModelProperty(value = "alarmName")
    private String alarmName;
	/**alarmType*/
	@Excel(name = "alarmType", width = 15)
    @ApiModelProperty(value = "alarmType")
    private Integer alarmType;
	/**devSn*/
	@Excel(name = "devSn", width = 15)
    @ApiModelProperty(value = "devSn")
    private String devSn;
	/**alarmGrade*/
	@Excel(name = "alarmGrade", width = 15)
    @ApiModelProperty(value = "alarmGrade")
    private String alarmGrade;

    @Excel(name = "alarmGrade", width = 15)
    @ApiModelProperty(value = "devType")
    private String devType;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
	/**alarmStatus*/
	@Excel(name = "alarmStatus", width = 15)
    @ApiModelProperty(value = "alarmStatus")
    private String alarmStatus;
}
